<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

class ZendvnWp {
    
    public function __construct() {
        add_filter('the_title', array($this, 'theTitle'));
    }
    
    /**
     * Change the title of news
     * @return string
     */
    public function theTitle() {
        $str    = 'Change the title of news';
        return $str;
    }
}